/**
 * 
 */
package edu.gtcfla.km.admin.appmodules.vo;

import java.io.Serializable;

import org.vsg.biz.BusinessEntityFactory;
import org.vsg.biz.account.Menu;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * @author bill vison
 *
 */
@JsonIgnoreProperties(value = {"menu"})
public class MenuFormView implements Serializable {
	
	private String name;
	
	
	private String code;
	
	private String parentId;
	
	private Menu menu;
	
	private static BusinessEntityFactory entityFactory = BusinessEntityFactory.getInstance();
	
	public MenuFormView() {
		menu = entityFactory.create(Menu.class);
	}
	
	public MenuFormView(Menu menu) {
		this.menu = menu;
	}	
	
	public String getName() {
		return menu.getName();
	}

	public void setName(String name) {
		menu.setName(name);
	}

	public String getId() {
		return menu.getId();
	}

	public void setId(String idSysRes) {
		menu.setId(idSysRes);
	}

	public String getCode() {
		return menu.getCode();
	}

	public void setCode(String code) {
		menu.setCode(code);
	}

	public String getModuleId() {
		return menu.getModuleId();
	}

	public void setModuleId(String moduleId) {
		menu.setModuleId(moduleId);
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public short getDisabled() {
		return menu.getDisabled();
	}


	public void setDisabled(short disabled) {
		menu.setDisabled(disabled);
	}	

	public int getMenuLevel() {
		return menu.getMenuLevel();
	}

	public void setRemark(String newRemark) {
		menu.setRemark(newRemark);
	}

	public String getRemark() {
		return menu.getRemark();
	}

	public void setDeleted(short newDeleted) {
		menu.setDeleted(newDeleted);
	}

	public short getSortNum() {
		return menu.getSortNum();
	}

	public void setSortNum(short newSort) {
		menu.setSortNum(newSort);
	}

	public Menu getMenu() {
		return menu;
	}

	public void setMenu(Menu menu) {
		this.menu = menu;
	}

	
	
	
	

}
